import request from '@/utils/request.js'
import md5 from 'js-md5'
/**
 *
 * @param {登录} params
 */
export function userLogIn (params) {
  return request({
    url: '/user/login',
    method: 'post',
    data: JSON.stringify(params),
    headers: {
      'Content-Type': 'application/json'
    }
  })
}
/**
 *
 * @param {退出登录} params
 */
export function loginOut (params) {
  return request({
    url: '/SysSecurity/logout',
    method: 'post',
    params
  })
}
